package com.kzj.global.params;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Component
public class GlobalParams {
//    @Autowired
//    StringRedisTemplate stringRedisTemplate;
    //TODO 初始化时从redis中更新数据
    private String curriculumTime="2024|1";
    private LocalDateTime arrangeExaminationDate=LocalDateTime.of(2023,12,12,12,0);
    private LocalDateTime robClassesPreHeatDate=LocalDateTime.now();
    private LocalDateTime stopRobClassesDate=LocalDateTime.of(2023,12,12,12,0);


}
